package edu.spec.basic.dao.iface;

import edu.spec.basic.model.RoleCommand;
import org.madgecko.basic.dao.IBaseDao;

public interface IRoleCommandDao extends IBaseDao<RoleCommand> {
	RoleCommand loadByRoleAndCommand(int roleId, int commandId);
	void deleteByRoleAndCommand(int roleId, int command);
	void deleteByRole(int roleId);
	void deleteByCommand(int commandId);
}
